<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <link rel="icon" href="/favicon.ico" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title>%VITE_APP_TITLE%</title>
    <style>
      #app {
        visibility: hidden;
      }
      .loading-mask {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
      }
      .loading-box {
        width: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }
      .loading-box img {
        width: 80px;
      }
      .loading-box span {
        font-size: 14px;
      }

      @keyframes ldio {
        0% {
          transform: translate(6px, 40px) scale(0);
        }
        25% {
          transform: translate(6px, 40px) scale(0);
        }
        50% {
          transform: translate(6px, 40px) scale(1);
        }
        75% {
          transform: translate(40px, 40px) scale(1);
        }
        100% {
          transform: translate(74px, 40px) scale(1);
        }
      }
      @keyframes ldio-r {
        0% {
          transform: translate(74px, 40px) scale(1);
        }
        100% {
          transform: translate(74px, 40px) scale(0);
        }
      }
      @keyframes ldio-c {
        0% {
          background: #e15b64;
        }
        25% {
          background: #abbd81;
        }
        50% {
          background: #f8b26a;
        }
        75% {
          background: #f47e60;
        }
        100% {
          background: #e15b64;
        }
      }
      .ldio div {
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        transform: translate(40px, 40px) scale(1);
        background: #e15b64;
        animation: ldio 3.7037037037037033s infinite cubic-bezier(0, 0.5, 0.5, 1);
      }
      .ldio div:nth-child(1) {
        background: #f47e60;
        transform: translate(74px, 40px) scale(1);
        animation:
          ldio-r 0.9259259259259258s infinite cubic-bezier(0, 0.5, 0.5, 1),
          ldio-c 3.7037037037037033s infinite step-start;
      }
      .ldio div:nth-child(2) {
        animation-delay: -0.9259259259259258s;
        background: #e15b64;
      }
      .ldio div:nth-child(3) {
        animation-delay: -1.8518518518518516s;
        background: #f47e60;
      }
      .ldio div:nth-child(4) {
        animation-delay: -2.7777777777777777s;
        background: #f8b26a;
      }
      .ldio div:nth-child(5) {
        animation-delay: -3.7037037037037033s;
        background: #abbd81;
      }
      .loadingio-spinner-ellipsis {
        width: 80px;
        height: 80px;
        display: inline-block;
        overflow: hidden;
        background: none;
      }
      .ldio {
        width: 100%;
        height: 100%;
        position: relative;
        transform: translateZ(0) scale(0.8);
        backface-visibility: hidden;
        transform-origin: 0 0; /* see note above */
      }
      .ldio div {
        box-sizing: content-box;
      }
    </style>
  </head>

  <body>
    <noscript>
      <strong
        >We're sorry but %VITE_APP_TITLE% doesn't work properly without JavaScript enabled. Please
        enable it to continue.</strong
      >
    </noscript>
    <!-- 加载动画 -->
    <div class="loading-mask" id="apploading">
      <div class="loading-box">
        <div class="loadingio-spinner-ellipsis">
          <div class="ldio">
            <div></div>
            <div></div>
            <div></div>
            <div></div>
            <div></div>
          </div>
        </div>
        <span>正在加载中...</span>
      </div>
    </div>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
